home *** CD-ROM | disk | FTP | other *** search
- 27
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- ReadRegMulti
- --- RECORDSEPARATOR ---
- Platform:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Windows
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Description:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- baReadRegMulti gets a multi string value from the Windows Registry.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Usage:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Result = ReadRegString( KeyName, ValueName, Default, Branch )
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Arguments:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- String, String, String, String.
- --- RECORDSEPARATOR ---
- KeyName is the name of the key.
- --- RECORDSEPARATOR ---
- ValueName is the name of the value. Under 16 bit, this value is ignored.
- --- RECORDSEPARATOR ---
- Default is the string that is returned if the key/value doesn't exist.
- --- RECORDSEPARATOR ---
- Branch is the branch of the registry to use. Can be one of the following:
- --- RECORDSEPARATOR ---
- "HKEY_CLASSES_ROOT"
- --- RECORDSEPARATOR ---
- "HKEY_CURRENT_USER"
- --- RECORDSEPARATOR ---
- "HKEY_LOCAL_MACHINE"
- --- RECORDSEPARATOR ---
- "HKEY_USERS"
- --- RECORDSEPARATOR ---
- ΓÇ£HKEY_CURRENT_USERΓÇ¥
- --- RECORDSEPARATOR ---
- ΓÇ£HKEY_DYN_DATAΓÇ¥
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Returns:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- List (Xtra) or String (UCD).
- --- RECORDSEPARATOR ---
- Returns a list containing the strings stored in Keyname. If the Keyname doesn't
- --- RECORDSEPARATOR ---
- exist, then the return will a list containing just the Default string.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Examples:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Director:
- --- RECORDSEPARATOR ---
- set data = baReadRegMulti( "Courses\Computers", "Data", "Error",
- --- RECORDSEPARATOR ---
- "HKEY_CLASSES_ROOT" )
- --- RECORDSEPARATOR ---
- Authorware:
- --- RECORDSEPARATOR ---
- Data := baReadRegString( "Courses\\Computers", "Data", "Error",
- --- RECORDSEPARATOR ---
- "HKEY_CLASSES_ROOT" )
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Notes:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- The multi string type of registry entry consists of a series of strings.
- --- RECORDSEPARATOR ---
- in the Xtra the return will a list containing the string values. eg:
- --- RECORDSEPARATOR ---
- [ "date", "20011121, "time", "231823" ]
- --- RECORDSEPARATOR ---
- In the UCD, the return will be a string with each value on a separate line. eg:
- --- RECORDSEPARATOR ---
- "date\r20011121\rtime\r231823"
- --- RECORDSEPARATOR ---
- Use the Authorware GetLine function to retrieve the values.
- --- RECORDSEPARATOR ---
- If the key does not exist, then a list with the default value (as a string) as its only
- --- RECORDSEPARATOR ---
- entry will be returned, eg:
- --- RECORDSEPARATOR ---
- ["error"]
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- See also:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- baWriteRegString
- --- RECORDSEPARATOR ---
- baReadRegNumber
- --- RECORDSEPARATOR ---
- baWriteRegNumber
- --- RECORDSEPARATOR ---
- baDeleteReg